package com.pro.common.service.sitecontent.enums.init;

import com.pro.common.api.CommonConst;
import com.pro.common.api.enums.EnumSysRole;
import com.pro.common.service.sitecontent.enums.EnumAuthRouteType;
import com.pro.common.service.sitecontent.enums.init.IEnumToDbEnumAuthRoute;
import com.pro.common.service.sitecontent.model.db.AuthRouteGroup;
import com.pro.framework.api.enums.IEnumToDbEnum;
import com.pro.framework.javatodb.annotation.JTDField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

import static com.pro.common.api.enums.EnumSysRole.ADMIN;
import static com.pro.common.service.sitecontent.enums.EnumAuthRouteType.*;


@Getter
@AllArgsConstructor
public enum EnumAuthRouteGroup implements IEnumToDbEnum<AuthRouteGroup> {
    DEFAULT(null, "默认", null, null, null, null),

    ;
    @Schema(description = "名称")
    private final EnumSysRole sysRole;
    @Schema(description = "名称")
    private final String groupName;
    @Schema(description = "启用")// 功能关闭
    private final Boolean enabled;
    @Schema(description = "排序")
    private final Integer sort;
    @Schema(description = "描述")
    private final String remark;

    private final String forceChangeTime;

//    @Override
//    public String getToDbCode() {
//        return code;
//    }
}
